  <script>
    $(document).ready(function(){
      $("li.cat-item-"+<?php echo $parent[0]->term_id; ?>).parent().show();
      $("li.cat-item-"+<?php echo $parent[0]->term_id; ?>+" div").addClass("show");
    });
  </script>

  <div id="category-content" class="grid_10">
    <div id="category-title">
      <img src="<?php bloginfo('template_directory'); ?>/images/butterfly.png" />
      <h2><?php echo get_the_title(); ?></h2>
    </div>

    <div id="post-content">
      <?php $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>

      <img src="<?php echo $feat_image; ?>" />
      <p><?php echo $post->post_content; ?></p>
    </div>
  </div>